package com.hao.tool.web.component.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * description
 * 如果自身的配置文件中已经有key 则不读取其他地方的配置，先到先得
 *
 * @author RuiHaoZ on hgits.cn
 * @date 2019/1/17 16:43
 */
@Component
@ConfigurationProperties(prefix = "hao-tool.common")
@Data
public class PropertiesInfo {


    private String localFileRootDir;

    @Override
    public String toString() {
        return super.toString();
    }

}
